// pages/discounts/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    imglist:["/img/showA.png","/img/showB.png","/img/showC.png","/img/showD.png"],
    show:1
  },
  // 跳转优惠列表
  OfferList(e){
    console.log(e.currentTarget.dataset.id)
    wx.navigateTo({
      url: '/pages/discounts/SeckillDetails/SeckillDetails?id='+e.currentTarget.dataset.id,
    })
  },
  onLoad: function (options) {
    
  }
})